﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Runtime.Serialization;   
    
namespace Boiling.Common
{
    public class b_Userdata: DataSet 
    {
        public const string b_User_Table = "b_User";
        public const string User_ID_Field = "User_ID";
        public const string User_Pwd_Field = "User_Pwd";
        public const string User_NO_Field = "User_NO";

        public b_Userdata(SerializationInfo info, StreamingContext context): base(info, context)
        {
        }
        public b_Userdata()
        {
            Buildb_UserdataTables();
        }
        private void Buildb_UserdataTables()
        {
            DataTable table = new DataTable(b_User_Table);
            DataColumnCollection columns = table.Columns;
            columns.Add(User_ID_Field, typeof(System.String));
            columns.Add(User_Pwd_Field, typeof(System.String));
            columns.Add(User_NO_Field, typeof(System.Int32));
            this.Tables.Add(table);
        }

    }
}
